home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmStringCompare.z / XmStringCompare
Encoding:
Text File  |  2003-11-18  |  2.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggCCCCoooommmmppppaaaarrrreeee((((3333XXXX))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV       XXXXmmmmSSSSttttrrrriiiinnnnggggCCCCoooommmmppppaaaarrrreeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_S_t_r_i_n_g_C_o_m_p_a_r_e - A compound string function that compares
  10.       two strings
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.  
  15.       Boolean XmStringCompare (ssss1111,,,, ssss2222)
  16.            _X_m_S_t_r_i_n_g     ssss1111;
  17.            _X_m_S_t_r_i_n_g     ssss2222;
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.       _X_m_S_t_r_i_n_g_C_o_m_p_a_r_e returns a Boolean value indicating the
  21.       results of a semantically equivalent comparison of two
  22.       compound strings.
  23.  
  24.       Semantically equivalent means    that the strings have the same
  25.       text components, font    list element tags, directions, and
  26.       separators.  In general, if two compound strings are created
  27.       with the same    (char *) string    using _X_m_S_t_r_i_n_g_C_r_e_a_t_e_L_o_c_a_l_i_z_e_d
  28.       in the same language environment, the    compound strings
  29.       compare as equal.  If    two compound strings are created with
  30.       the same (char *) string and the same    font list element tag
  31.       other    than _X_m_F_O_N_T_L_I_S_T__D_E_F_A_U_L_T__T_A_G using _X_m_S_t_r_i_n_g_C_r_e_a_t_e, the
  32.       strings compare as equal.
  33.  
  34.       ssss1111   Specifies a compound string to be compared with ssss2222
  35.  
  36.       ssss2222   Specifies a compound string to be compared with ssss1111
  37.  
  38.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  39.       Returns True if two compound strings are equivalent.
  40.  
  41.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  42.       _X_m_S_t_r_i_n_g_C_r_e_a_t_e(_3_X) and _X_m_S_t_r_i_n_g_C_r_e_a_t_e_L_o_c_a_l_i_z_e_d(_3_X).
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.